package com.meida.paotui.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户常用地址
 *
 * @author flyme
 * @date 2019-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_commonaddress")
@TableAlias("commonaddress")
@ApiModel(value="BusCommonaddress对象", description="用户常用地址")
public class BusCommonaddress extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "commonAddressId", type = IdType.ID_WORKER)
    private Long commonAddressId;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String district;

    @ApiModelProperty(value = "维度")
    private String lng;

    @ApiModelProperty(value = "经度")
    private String lat;

    @ApiModelProperty(value = "乡镇")
    private String township;

    @ApiModelProperty(value = "村")
    private String village;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "创建日期")
    private String createDate;

    @ApiModelProperty(value = "详细地址")
    private String detailAdress;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "名字")
    private String name;

}
